package org.barad.architecture.analyzer.archpad.xml.handler;

/**
 * Factory for JAXB parsing handlers for each type XML files.
 * 
 * @author svetoslavganov@gmail.com (Svetoslav R. Ganov)
 *
 */
public class HandlerFactory {
	private static PropertiesHandler propetiesHandler;
	
	/**
	 * Creates a interface class mapping handler.This is a singleton instance
	 * @return An interface class mapping handler instance 
	 */
	public static PropertiesHandler getArchPadPropertiesHandlerInstance() {
		if (propetiesHandler == null) {
			propetiesHandler = new PropertiesHandler();  
		}
		return propetiesHandler;
	}
}